package com.zkk.service;

import com.zkk.pojo.PageUtil;
import com.zkk.pojo.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll();

    Student add(Student student);


    int deleteById(int sid);

    Student selectById(int sid);

    int update(Student student);

    //新增一个通过页面查询数据的
    PageUtil<Student> findAll(PageUtil<Student> studentPageUtil);

    //设置总条数

    PageUtil<Student> findAll(PageUtil<Student> studentPageUtil,String username);

}
